﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Justin.OSGI
{
    public enum ModuleState
    {
        /// <summary>
        /// 未知
        /// </summary>
        Unknown = 0,
        /// <summary>
        /// 正在更新插件集合
        /// </summary>
        Updating = 1,
        /// <summary>
        /// 已经完成更新了可以进行加载了
        /// </summary>
        Updated = 2,
        /// <summary>
        /// 正在加载
        /// </summary>
        Installing = 3,
        /// <summary>
        /// 加载注册完成
        /// </summary>
        Active = 4,
        /// <summary>
        /// 正在禁用插件集
        /// </summary>
        Stoping = 5,
        /// <summary>
        /// 插件集已经禁用
        /// </summary>
        Stoped = 6,
        /// <summary>
        /// 正在卸载插件集
        /// </summary>
        Unstalling = 7,
        /// <summary>
        /// 插件集合已经卸载了
        /// </summary>
        Unstalled = 8
    }
}
